import { getRequest,postRequest } from '@/lib/smart-request';

export const giftApi = {
	getGift:(param)=>{
		return getRequest('/user/front/gifts/list', param);
	},
	sendGiftList:(param)=>{
		return getRequest('/user/front/gifts/gift/page/self',param)
	},
	giftList:()=>{
		return getRequest('/common/front/common/gift/page?status=1',false)
	},
	sendGift:(param)=>{
		return postRequest('/user/front/gifts/send',param,false)
	},
	chatGift:(param)=>{
		return postRequest('/chat/front/chat/dialog',param);
	}
}


